<%=xcompany.name%>
<%=allt(allt(xcompany.address1)+[ ]+allt(xcompany.address2))+[ Ph: ]+allt(xcompany.phone)%>
ENTRY TOKEN <%=maincursor.transid%>
<%if inlist(m_printdoc,'token','full','doctor','lab')%>
| Entry: | <%=transform(maincursor.dtime)%>
<%=icase(ptcursor.gender='m','GENDER: MALE',ptcursor.gender='F','GENDER: FEMALE','')%>
|
| Speciman: | <%=allt(maincursor.speciman)%> |
| Patient: | <%=ptcursor.name%>
<%=iif(totaldays<1 or totalyears>2,'','DAYS: '+transform(totaldays))%> <%=iif(totalmonths<1 or totalyears>2,'','MONTHS: '+transform(totalmonths))%> <%=iif(totalyears<1,'','YEARS: '+transform(totalyears))%>
<%=iif(empty(ptcursor.weight),'','WEIGHT: '+transform(ptcursor.weight))%>
|
| Ref. By: | <%=maincursor.doctor%> |
<%if not empty(maincursor.solution)%>
| Opinion | <%=allt(maincursor.solution)%> |
<%endif%>
<%endif%>
<% if inlist(m_printdoc,'full','doctor')%>
<%endif%>
<%if inlist(m_printdoc,'full','lab')%>
<%=tstr%>
<%endif%>
<%=[] &&[p_printdoc ]+m_printdoc%>